import request from '@/utils/request'
export const login = data => request({
  url: '/sys/login',
  method: 'POST',
  data
})
export function getUserInfo() {
  return request({
    url: '/sys/profile'
  })
}
export const updatePassword = data => request({
  url: '/sys/user/updatePass',
  method: 'PUT',
  data
})
